package com.ucode.cgms.mapper;

import com.ucode.model.cgms.CgmsAfterSaleCompanionOrder;
import com.ucode.springboot.starter.mybatis.core.base.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * 陪玩订单售后Mapper
 * @Author: Administrator
 * @Date: 2025/5/23 16:58
 * @Version: 1.0
 */
@Mapper
public interface CgmsAfterSaleCompanionOrderMapper extends BaseMapper<CgmsAfterSaleCompanionOrder,Long> {
    /**
     * 取消
     * @param id
     * @return
     */
    public int cancel(Long id);

    /**
     * 审核更新，只更新审核相关字段
     * @param bean
     * @return
     */
    public int updateAudit(CgmsAfterSaleCompanionOrder bean);

    /**
     * 退款成功更新，只更新退款相关字段
     * @param bean
     * @return
     */
    public int updateRefundSuccess(CgmsAfterSaleCompanionOrder bean);
}
